package web.reclamos.util;

import java.io.InputStream;
import java.util.Properties;

public class Parametros extends Properties {

    private static Parametros instance;

    private Parametros() {
        try {
            InputStream in = Parametros.class.getResourceAsStream("parametros.properties");
            this.load(in);
        } catch (Exception ex) {
            System.out.println(ex);
        }
    }

    public static Parametros getInstance() {
        if (instance == null) {
            instance = new Parametros();
        }
        return instance;
    }
}
